//
//  PostListViewController.h
//  XPhoto
//
//  Created by sentinel on 2020/3/20.
//  Copyright © 2020 baboy. All rights reserved.
//

#import "BKTableViewController.h"
#import "BKCommentView.h"
#import "PhotoTableViewCell.h"
#import "BKActionSheet.h"
#import "PhotoTableViewCell.h"

NS_ASSUME_NONNULL_BEGIN

@interface PostBaseViewController : BKViewController<UITableViewDelegate, UITableViewDataSource, PhotoTableViewCellDelegate, BKCommentViewDelegate, BKActionSheetDelegate>

@property(nonatomic, strong) NSMutableArray *posts;
@property(nonatomic, strong) BKCommentView *commentView;
@property(nonatomic, assign) id<PhotoTableViewCellDelegate, BKCommentViewDelegate,BKActionSheetDelegate> actionDelegate;


- (void)requestWithOffset:(NSInteger)offset callback:(void(^)(id task, id response, NSError *error))callback;
- (void)searchWithOffset:(NSInteger)offset;
- (PhotoTableViewCell *)photoTableViewCellForTableView:(UITableView*)tableView;
@end

NS_ASSUME_NONNULL_END
